

package cn.shengchao.examstar.distribute.infrastrure.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@TableName(value = "distribute_order_task_log")
public class DistributeOrderTaskLog {
    /**
     * 自增编码
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 任务id
     */
    @TableField(value = "task_id")
    private Long taskId;

    /**
     * 订单id
     */
    @TableField(value = "order_id")
    private Long orderId;

    /**
     * 说明
     */
    @TableField(value = "error_msg")
    private String errorMsg;

    /**
     * 0成功 1错误
     */
    @TableField(value = "result_code")
    private Integer resultCode;

    @TableField(value = "create_user")
    private Long createUser;

    @TableField(value = "create_time")
    private Date createTime;

    @TableField(value = "update_user")
    private Long updateUser;

    @TableField(value = "update_time")
    private Date updateTime;
}